/* 通用页面容器样式 */
.common-container {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 180px);
  box-sizing: border-box;
}

/* 操作区域卡片 */
.operation-card {
  margin-bottom: 20px;
  width: 100%;
}

/* 操作按钮区域 */
.operation-buttons {
  display: flex;
  gap: 10px;
}

/* 表格区域卡片 */
.table-card {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 卡片内容区域 */
:deep(.el-card__body) {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

/* 移除卡片的hover动画效果 */
.operation-card.el-card,
.table-card.el-card {
  transition: none !important;
}

.operation-card.el-card:hover,
.table-card.el-card:hover {
  transform: none !important;
}

/* vxe-table 相关样式 */
:deep(.vxe-table) {
  flex: 1;
  background-color: var(--el-bg-color);
}

:deep(.vxe-table--header-wrapper) {
  background-color: var(--el-fill-color-light);
}

:deep(.vxe-table--body-wrapper) {
  background-color: var(--el-bg-color);
}

/* 分页器样式 */
:deep(.vxe-pager) {
  margin-top: 16px;
  padding: 0;
  justify-content: flex-end;
  background-color: transparent;
}

/* 表格单元格样式 */
:deep(.vxe-table--render-default .vxe-body--column) {
  padding: 8px;
}

:deep(.vxe-table--render-default .vxe-header--column) {
  padding: 8px;
  font-weight: bold;
}

/* 代码块样式 */
pre {
  margin: 0;
  padding: 8px;
  background-color: var(--el-fill-color-light);
  border-radius: 4px;
  font-family: monospace;
  white-space: pre-wrap;
  word-break: break-all;
}

/* 对话框底部按钮区域 */
.dialog-footer {
  display: flex;
  justify-content: flex-end;
}
